<form id="pagerForm" method="post" action="__URL__/car">
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
</form>

<script type="text/javascript">
function reloadblockout() {
    navTab.reload("__URL__/BlockOutapprove", {});
}

</script>

<div class="pageContent">


    <div class="panelBar">
		<ul class="toolBar">
		<!-- 
			<li><a class="edit" href="__URL__/remindedit/id/{sid_node}" target="dialog" mask="true" warn="请选择节点"><span>修改</span></a></li>
		    
		   <li><a class="delete" href="__URL__/reminddelete/navTabId/car" target="selectedTodo" rel="ids" postType="string" title="你确定要删除吗？" warn="请选择信息"><span>删除</span></a></li>
		  
		    <li class="line">line</li>
		   -->
			<li><a class="icon" href="#" onclick="reloadblockout()"><span>刷新</span></a></li>
		</ul>
	</div>
<table class="table" width="100%" layoutH="112">
		<thead>
			<tr>
				<th width="20" align="center"><input type="checkbox"
					group="ids" class="checkboxCtrl"></th>
				<th width="100" align="center">合同编号</th>
				<th width="100" align="center">客户名称</th>
				<th width="60" alihn="center">付款方</th>
				<th width="60" alihn="center">收款方</th>
				<th width="60" align="center">收款日期</th>
				<th width="60" alihn="center">收款金额</th>
				<!-- <th width="60" alihn="center">单价</th> -->
				<th width="60" alihn="center">可审批吨数</th>
				<th width="60" alihn="center">已审批吨数</th>
				<th width="60" align="center">备注</th>
				<th width="150" align="center">操作</th>
			</tr>
		</thead>
		<tbody>
			<define name="number" value="1" />
			<volist id="vo" name="list">
			<tr target="sid_contract" rel="{$vo['id']}">
				<td><input type="checkbox" name="ids" value="{$vo['id']}" /></td>
				<td><a>{$vo['contractno']}</a></td>
				<!-- <td><a href="__URL__/index/id/{$vo['id']}/blockoutid/{$vo['id']}" target="navTab" rel="__MODULE__">{$vo['subject']}</a></td> -->
				<td>{$vo['secondname']}</td>
				<td>{$vo['payer']}</td>
				<td>{$vo['seller']}</td>
				<td>{$vo['paytime']}</td>
				<td>{$vo['paymuch']}</td>
				<!-- <td>{$vo['univalence']}</td> -->
				<td>{$vo['capacity']}</td>
				<td>{$vo['alshipment']}</td>
				<td>{$vo['note']}</td>
				<td align="center">
					<a href="__URL__/BlockOutapprove/approve/true/id/{$vo['controlid']}/blockoutid/{$vo['id']}" target="dialog" mask="true" 
					title="拟定审批" rel="BlockOutapprove"	><button>审批</button></a></td>
			</tr>
			</volist>
		</tbody>
	</table>
	</div>